{% block sw_sidebar_navigation_item %}
<button
    class="sw-sidebar-navigation-item"
    :class="sidebarItem.sidebarItemClasses"
    :title="sidebarItem.title"
    :disabled="sidebarItem.disabled"
    @click="emitButtonClicked"
>

    {% block sw_sidebar_navigation_item_content %}
    <mt-icon
        :name="sidebarItem.icon"
        size="20px"
    />
    <i
        v-if="!sidebarItem.hasSimpleBadge && sidebarItem.badge > 0"
        class="sidebar-item-badge notification--badge"
        :class="badgeTypeClasses"
    >{{ sidebarItem.badge }}</i>
    <i
        v-else-if="sidebarItem.hasSimpleBadge"
        class="sidebar-item-badge dot--badge"
        :class="badgeTypeClasses"
    ></i>
    {% endblock %}
</button>
{% endblock %}
